<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        setTimeout(()=>{
            console.log("three");
        },0);
        
        Promise.resolve().then(()=>{
            console.log("two");
        })

        Promise.resolve("你好").then((value)=>{
            console.log(value);
        })

        console.log("one");

        function search(data,onLoad){
            testFn = ()=>{
                onLoad("111")
            }
            testFn()
        }
        search("nihao",console.log)
    </script>
</body>
</html>